package com.one.group.model.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author kld
 * @description 装修收费关联表
 */
@Data
@Table("sp_decoration_charge")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DecorationCharge implements Serializable {
    @Id(keyType = KeyType.Auto)
    private Long id;
    private Long decorationId; // 装修管理ID
    @Column("charge_standard_id")
    private Long chargeStandardId; // 收费标准ID
    private BigDecimal quantity; // 数量
    private Date createTime; // 创建时间
    private Date updateTime; // 更新时间
    private Long tenantId; // 租户ID
}